home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC & Mediji 1998 February
/
PCM_9802.iso
/
programi
/
director
/
data.z
/
Behavior Library.cst
/
00028_Script_Net Hold Until Frame Ready
< prev
next >
Wrap
Text File
|
1997-05-09
|
2KB
|
72 lines
-- Net Hold Until Frame Ready
property useframes, frameA, frameB, markA, markB, singleframe
on beginsprite me
set singleframe = FALSE
if useframes = #UseFrames then
if frameB <= frameA then
set singleframe = TRUE
end if
else -- useMarkers
set frameA = marker (markA)
set frameB = marker (markB)
if frameB <= frameA then
set singleframe = TRUE
end if
end if
end
on prepareframe me
if singleframe then
if not frameReady (frameA) then
go the frame
end if
else -- not singleframe
if not frameReady (frameA, frameB) then
go the frame
end if
end if
end
on getPropertyDescriptionList
set p_list = [ ¼
#useframes: [ #comment: "Syntax:", ¼
#format: #symbol, ¼
#range: [#UseFrames, #UseMarkers],¼
#default: #UseFrames ], ¼
#frameA: [ #comment: "Begin Frame:", ¼
#format: #integer, ¼
#default: 1 ] ,¼
#frameB: [ #comment: "End Frame:", ¼
#format: #integer, ¼
#default: 1 ] ,¼
#markA: [ #comment: "Begin Marker:", ¼
#format: #marker, ¼
#default: 1 ] ,¼
#markB: [ #comment: "End Marker:", ¼
#format: #marker, ¼
#default: 1 ] ¼
]
return p_list
end
on getBehaviorDescription
return ¼
"Loops on the current frame until media in the specified frame range is loaded. Define a range with frame numbers or marker names." & RETURN & ¼
"PARAMETERS:" & RETURN & ¼
"ò Syntax - Choose UseFrames or UseMarkers." & RETURN & ¼
"ò Begin Frame - Enter the number of the first frame in the range." & RETURN & ¼
"ò End Frame - Enter the number of the last frame in the range." & RETURN & ¼
"ò Begin Marker - Choose the first marker in the range." & RETURN & ¼
"ò End Marker - Choose the last marker in the range."
end